package com.lodsve.config;

import lodsve.mybatis.configs.annotations.EnableMyBatis;
import lodsve.workflow.config.annotation.EnableWorkflow;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * .
 *
 * @author sunhao(sunhao.java@gmail.com)
 * @version V1.0, 16/4/22 上午10:18
 */
@Configuration
@EnableMyBatis(
        dataSource = "test",
        basePackages = "com.lodsve.repository",
        enumsLocations = "com.lodsve.enums"
)
@ComponentScan({
        "com.lodsve.service",
        "com.lodsve.repository",
        "com.lodsve.workflow"
})
@EnableWorkflow
@ImportResource("classpath*:/META-INF/spring/*.xml")
public class WorkflowConfig {
}
